package com.xsy.android.compose.gradlelearning

import org.junit.Assert.assertEquals
import org.junit.Test

/**
 * Example local unit test, which will execute on the development machine (host).
 *
 * See [testing documentation](http://d.android.com/tools/testing).
 */
class ExampleUnitTest {
    @Test
    fun addition_isCorrect() {
        assertEquals(4, 2 + 2)
    }

    @Test
    fun test() {
        val PACKAGE_NAME = "com/imooc/router/mapping"
        val className =
            "/Users/admin/Downloads/RouterGradleDemo/app/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/imooc/router/mappping/RouterMapping_1731481752007.class"
        assertEquals(true, className.contains(PACKAGE_NAME))
    }
}